/*
 * Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
 *  
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"), 
 * to deal in the Software without restriction, including without limitation 
 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 
 * and/or sell copies of the Software, and to permit persons to whom the 
 * Software is furnished to do so, subject to the following conditions:
 *  
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *  
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
 * DEALINGS IN THE SOFTWARE.
 * 
 */

/* Temporary implementation of unobtrusive scrollbars. 
   FUTURE: These currently rely on nonstandard WebKit styles, and don't have all the right behavior. 
   Longer-term, we'll need to implement custom scrollbars. */

.quiet-scrollbars ::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

.quiet-scrollbars ::-webkit-scrollbar-corner {
    background-color: transparent;
}

.quiet-scrollbars ::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0);
}

/* This looks like a dupe, but without it the thumb doesn't fade in
 * properly, probably due to flakiness in how these styles are handled
 * in the build of WebKit that's in CEF.
 */
.quiet-scrollbars ::-webkit-scrollbar-corner {
    background-color: transparent;
}

/* The data URIs for the thumb were generated from the Fireworks files in 
 * styles/vertical-thumb-fw-outline.png and styles/horiz-thumb-fw-outline.png.
 */
.quiet-scrollbars #open-files-container:hover::-webkit-scrollbar-thumb:vertical, 
.quiet-scrollbars #project-files-container:hover::-webkit-scrollbar-thumb:vertical {
    -webkit-border-image: url("") 9 0;
    border-color: transparent;
    border-width: 9px 0;
    min-height: 20px;
}

.quiet-scrollbars #open-files-container:hover::-webkit-scrollbar-thumb:horizontal, 
.quiet-scrollbars #project-files-container:hover::-webkit-scrollbar-thumb:horizontal {
    -webkit-border-image: url("") 0 9;
    border-color: transparent;
    border-width: 0 9px;
    min-width: 20px;
}
